<template>
	<view class="index">
		<view class="list">
			<view class="content">
				<view class="avatar">
					<image :src="item.avatar" mode="" class="image"></image>
				</view>
				<view class="center">
					<view class="top">
						<view class="left">{{item.nickname}}</view>
						<view class="right">
							<slot name="topTime"></slot>
						</view>
					</view>
				</view>
			</view>
			<view class="content">
				<view class="avatar" style="height: 0;">
				</view>
				<view class="center">
					<view class="top" style="margin: 0;color:#505050;font-size: 24rpx;">
						<view class="left">{{item.content}}</view>
					</view>
				</view>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		props: {
			list: [],
			item:{},
			showBorder:{
				default:true
			},
			showProgress:{
				default:true
			},
			stauts:{
				default:3
			},
		},
		data() {
			return {
				form: {
					categorys: []
				}
			}
		},
		onReachBottom() {

		},

		created() {


		},
		onReady() {

		},
		onShow() {

		},
		methods: {
			detail() {
				console.log(1111)
			},
			goDetails(item) {
				uni.navigateTo({
					url: '/components/listDetail/Detail?type=1&data=' + JSON.stringify(item)
				})
			}
		}
	}
</script>
<style>
	/* @page{
		background-color: #E2E2E2;
	} */
	page {
		background-color: #f6f6f6;
	}
</style>
<style lang="scss" scoped>
	.index {
		font-size: 28rpx;
		.border_data{
			padding: 0 20rpx;
			._border{
				width: 100%;
				height: 1px;
				background-color: #f6f6f6;
			}
		}
		.list {
			color: #505050;
			// background: #f6f6f6;
			margin-top: 20rpx;
			.content {
				display: flex;
				justify-content: center;
				align-items: center;
				padding: 00rpx;
				.avatar {
					width: 90rpx;
					height: 90rpx;
					.image {
						width: 100%;
						height: 100%;
						border-radius: 50%;
					}
				}

				.center {
					flex: 1;
					display: flex;
					flex-direction: column;
					align-items: left;
					justify-content: center;
					color: #157DFA;
					.top {
						font-size: 26rpx;
						font-size: 26rpx;
						margin: 10px 0;
						display: flex;

						.right {
							font-size: 22rpx;
							color: #BABABA;
						}

						.left {
							flex: 1;
							padding-left: 30rpx;
						}
					}

					.bottom {
						font-size: 28rpx;
                        padding-left: 0;
						.right {
							font-size: 22rpx;
							color: #157DFA;
						}

						.left {
							flex: 1;
						}
					}
				}

				.right {
					color: #157DFA;
					font-size: 24rpx;
				}
			}

			.bottom {
				display: flex;
				align-items: center;
				font-size: 22rpx;
				padding-left: 20rpx;
				margin-top: 10rpx;
				.time {
					flex: 1;
					padding: 20rpx 0;
					.timeValue {
						color: #BABABA;
					}

					.update {
						color: #157DFA;
					}
				}

				.progress {
					padding: 9rpx;
					color: #fff;
					width: 130rpx;
					background-size: 100%;
					background-repeat: no-repeat;
					text-align: right;
					// background-image: url(../../static/Rectangle.png);
				}
			}
		}
	}
</style>
